package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.PromotionEndProcess;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 活动结束同步数据表，目前用于同步更新积分
 * @author :
 * @email :
 * @since : 2020-06-30 04:30:44
 * @version : v1.0.0
 */
@Mapper
public interface  PromotionEndProcessMapper {

    long insert(PromotionEndProcess promotionEndProcess);

    long delete(Long id);

    long update(PromotionEndProcess promotionEndProcess);

    PromotionEndProcess queryByPrimaryKey(Long id);

    List<PromotionEndProcess> query(PromotionEndProcess promotionEndProcess);

    List<PromotionEndProcess> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("promotionEndProcess") PromotionEndProcess promotionEndProcess);

    long queryPageCount(PromotionEndProcess promotionEndProcess);
}
